package com.neusoft.SPNursingHome.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neusoft.SPNursingHome.po.*;

import java.util.List;

public interface MealSetService {
    ResponseBean<List<MealSet>> listAll();
    ResponseBean<IPage<MealSetWithClient>> listAllWithClientName(String name, Integer adId, String role, long page, long size);
    ResponseBean<MealSet> getById(Integer id);
    ResponseBean<Void> create(MealSet set);
    ResponseBean<Void> update(MealSet set);
    ResponseBean<Void> deleteById(Integer id);
    ResponseBean<List<MealSet>> searchByClientName(String name);
    ResponseBean<List<Client>> listClientsWithoutMealSet(String name);

}
